
package upc.jfactory.scp.bl.facade;

import upc.jfactory.scp.bl.controller.IniciarSesionController;

/**
 *
 * @author Diego Tovar
 */
public class IniciarSesionFacade
{

    private static IniciarSesionFacade _instance = null;

    public static IniciarSesionFacade getInstance() {
        if (_instance == null)
            _instance = new IniciarSesionFacade();

        return _instance;
    }

    private IniciarSesionFacade() {

    }

    public String iniciarSesion(String usuario, String clave)
    {
        return (new IniciarSesionController()).iniciarSesion(usuario, clave);
    }
}
